package com.zenith.edu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zenith.edu.po.domain.EduAssignmentQuestion;
import com.zenith.edu.po.dto.EduAssignmentQuestionDTO;
import com.zenith.edu.po.vo.EduAssignmentQuestionVO;

import java.util.List;

public interface EduAssignmentQuestionService extends IService<EduAssignmentQuestion> {
    
    /**
     * 创建作业题目
     * @param dto 作业题目DTO
     * @return 作业题目VO
     */
    EduAssignmentQuestionVO createAssignmentQuestion(EduAssignmentQuestionDTO dto);
    
    /**
     * 根据ID获取作业题目详情
     * @param id 作业题目ID
     * @return 作业题目VO
     */
    EduAssignmentQuestionVO getAssignmentQuestionById(Long id);
    
    /**
     * 更新作业题目信息
     * @param dto 作业题目DTO
     * @return 作业题目VO
     */
    EduAssignmentQuestionVO updateAssignmentQuestion(EduAssignmentQuestionDTO dto);
    
    /**
     * 删除指定作业题目
     * @param id 作业题目ID
     * @return 是否删除成功
     */
    boolean deleteAssignmentQuestion(Long id);
    
    /**
     * 获取作业题目列表
     * @return 作业题目VO列表
     */
    List<EduAssignmentQuestionVO> getAssignmentQuestionList();
}